POV-Ray : Newsgroups : povray.binaries.images : Need help with Colefax' Splines (Coil spline) 1 attachement 12kb : Re: Need help with Colefax' Splines (Coil spline) 1 attachement 12kb Server Time
13 Aug 2024 19:30:47 EDT (-0400)
  Re: Need help with Colefax' Splines (Coil spline) 1 attachement 12kb  
From: Chris Colefax
Date: 10 Feb 2003 21:46:13
Message: <3e4863f5@news.povray.org>
Manuel Kasten <kas### [at] gmxde> wrote:
> please help me!
>
> What is this, and how can I avoid it?

The problem you are seeing is caused by the method used to calculate the
normal vector of the spline (required to orient the torus segments used to
create the coil).  The current macro file is hardwired to use a 'sky' vector
of z to calculate the spline normal, and when the spline runs directly along
this axis a shift in orientation occurs.

To fix the problem, you can ensure the spline doesn't run along the z-axis,
or download an updated version of the macro file (from
www.geocities.com/ccolefax/spline), which will allow you to adjust the sky
vector used with the spline_normal_sky option.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.